<template>
	<view class="">

	</view>
</template>

<script setup>
	async function r() {
	const res = await	 uni.request({
			url: 'https://jsonplaceholder.typicode.com/posts',
			// method:'GET'
			// success(res) {
			// 	console.log(res);
			// }
		})
		console.log(res);
	}
	r()
</script>

<style lang="scss" scoped>

</style>